Overview
The MATLAB code in this package constructs Monte Carlo experiments presented in the paper. Third-party software Dynare(http://www.dynare.org) is executed inside. Three folders contain the main program, the functions, and dataset needed for replication of tables and diagrams.

Software Used
	MATLAB (R2020b and R2022a)
	Dynare 4.6.2
	Dynare 5.1
	Dynare executes inside MATLAB

Part A.1-Small-scale New Keynesian model
	-All files used for this part of simulation study are saved in folder "Small scale NK".
	-Model citation: Guerron-Quintana, P., A. Inoue, and L. Kilian (2017). Impulse response matching estimators for dsge models. Journal of Econometrics 196 (1), 144 – 155.
	-Data Generation: 'data.m' executing 'dgp.mod'
	-Dataset Used: 'sampledataT100.mat' and 'sampledataT232.mat'
	-Programs in 'irfplot.m' generates Figure 1.
	-Programs in 'SMAS.m' generates Table 1-4 in this section. Estimation results are saved in 
		'T232p2H20', 'T232p2H80', 'T232p4H20', 'T232p4H80',
		'T232p6H20', 'T232p6H80' (Table 1), 
		'T232p2H2', 'T232p2H8'(Table 2), 
		'T100p2H20', 'T100p2H80'(Table 3), 
		and 'T232p2H2140'(Table 4).
	-Dynare programs called: 'dgptest.mod'
	-Programs in 'histcompare.m' generates Figure 2 and Figure 3.

Part A.2-Medium-scale New Keynesian model
	-All files used for this part of simulation study are saved in folder "Medium scale NK".
	-Model citation: Smets, F. and F.Wouters (2007). Shocks and frictions in us business cycles: A bayesian dsge approach. American Economic Review 97 (3), 586–606.
	-Data Generation: 'syndata.m' executing 'sw_dgp'.
	-Data Used: 'sampledata_sub_236.mat' and 'sampledata_sub_944.mat'.
	-Programs in 'sw_p1_single.m' generates Table 6 and Table 7 in this section.
	-Programs in 'sw_p2_single.m' generates Table 8 in this section.
	-Programs in 'sw_2param.m' generates Table 9 in this section.
	-Estimation results are saved in 
		'T236p4H20_CLpiR_demean_zero.mat', 'T236p4H20_demean_zero.mat', 
		'T236p4H80_CLpiR_demean_zero.mat', 'T236p4H80_demean_zero.mat', 
		'T236p4H2180_CLpiR_demean_zero.mat', 'T236p4H2180_demean_zero.mat' (Table 6), 
		'T236p2H80_demean_zero.mat', 'T236p8H80_demean_zero.mat', 
		'T236p2H80_CLpiR_demean_zero.mat', 'T236p8H80_CLpiR_demean_zero.mat' (Table 7), 
		'T236p4H20_demean_zero_xip.mat', 'T944p4H20_demean_zero_xip.mat', 
		'T236p4H80_demean_zero_xip.mat', 'T944p4H80_demean_zero_xip.mat' (Table 8), 
		and 'summary_two param_SMAS.xlsx' (Table 9).

Part A.3-Infeasible New Keynesian model
	-All files used for this part of simulation study are saved in folder "Infeasible SMAS".
	-Model citation: Fernandez-Villaverde, J., J. Rubio-Ramirez, and F. Schorfheide (2016). Solution and estimation methods for dsge models. Handbook of Macroeconomics 2, 527–724.
	-Programs in 'main.m' generates Table 11 in this section. Estimation results are saved in
		'Infeasible SMAS_estimation.xlsx'

References
	-Stéphane Adjemian, Houtan Bastani, Michel Juillard, Frédéric Karamé, Junior Maih, Ferhat Mihoubi, George Perendia, Johannes Pfeifer, Marco Ratto and Sébastien Villemot (2011), “Dynare: Reference Manual, Version 4,” Dynare Working Papers, 1, CEPREMAP
	-Dynare programs on Smets and Wouters(2007): Nicola Viegi (http://www.nviegi.net/teaching/master/monmas.htm) and Johannes
Pfeifer (https://github.com/JohannesPfeifer/DSGE_mod/tree/master/Smets_Wouters_2007)
	-Matlab code for computing bias-adjusted impulse response confidence intervals for structural VAR models with intercept(https://drive.google.com/file/d/1Hdz7oQmmHDFt6bUzF5Rw-ny29VXY3MCe/view).
	-Matlab code for Bertille Antoine, Lynda Khalaf, Maral Kichian & Zhenjiang Lin (2022) Identification-Robust Inference With Simulation-Based Pseudo-Matching, Journal of Business & Economic Statistics, DOI: 10.1080/07350015.2021.2019046